public class EmailFormatException extends Exception {
    private static final String EMAIL_FORMAT_ERROR = "Wrong email format!";

    EmailFormatException() {
        super(EMAIL_FORMAT_ERROR);
    }
}
